// 修改后 扩到了key的范围
type INumberArrMap = {
	[key: string]: number[];
};
export type INumberMap = {
	[key: string]: number;
};
type IStringArrMap = {
	[key: string]: string[];
};
export const controllKeys: INumberArrMap = {
	"4": Array(4)
		.fill(0)
		.map((_, idx) => idx)
		.map((n) => n + 1),
	"6": Array(6)
		.fill(0)
		.map((_, idx) => idx)
		.map((n) => n + 1),
	"9": Array(9)
		.fill(0)
		.map((_, idx) => idx)
		.map((n) => n + 1),
};
export const baseNums: INumberArrMap = {
	"4": [...controllKeys[4]],
	"6": [...controllKeys[6]],
	"9": [...controllKeys[9]],
};
export const rownames: IStringArrMap = {
	"4": "1234".split(""),
	"6": "123456".split(""),
	"9": "123456789".split(""),
};
export const colnames: IStringArrMap = {
	"4": "ABCD".split(""),
	"6": "ABCDEF".split(""),
	"9": "ABCDEFGHI".split(""),
};
export const sumMap: INumberMap = { "4": 10, "6": 21, "9": 45 };
